Перейти к основному содержимому

Light

The light component is a Neon like component which lets you get its color and change it.


Functions

setColor

Light.setColor( color )

Sets the color

Arguments:

  • color [ string|Color ] The color to set it to

getColor

Light.getColor()

Gets the color

Returns:

  • [ string|Color ] The current color